//
//  CourseCommonTitleHeaderView.m
//  ShowYork
//
//  Created by hxh on 2020/9/16.
//  Copyright © 2020 hxh. All rights reserved.
//

#import "LessonCommonTitleHeaderView.h"

@interface LessonCommonTitleHeaderView ()
@property (nonatomic,strong)UILabel *titleLb;
@end

@implementation LessonCommonTitleHeaderView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self setUI];
    }
    return self;
}

- (void)setUI{
    self.titleLb = [[UILabel alloc]init];
    self.titleLb.text = @"所有课程";
    self.titleLb.textColor = C35;
    self.titleLb.font = [UIFont boldSystemFontOfSize:20];
    [self addSubview:self.titleLb];
    
    [self.titleLb mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(self).offset(16);
        make.bottom.mas_equalTo(self);
    }];
}

@end
